package com.gpframework.module.wages.service;

import com.gpframework.module.wages.domain.GzWarehousePersonnel;
import com.gpframework.module.wages.domain.vo.GzWarehousePersonnelVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.gpframework.module.wages.domain.vo.SalarySummaryVo;

import java.util.Date;
import java.util.List;
/**
 * @ClassName GzWarehousePersonnel
 * @Author gpframework
 * @Date 2024-01-22
 * @Version 1.0.0
 * @Description 仓库工资条Service接口
 */
public interface IGzWarehousePersonnelService extends IService<GzWarehousePersonnel> {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2024-01-22
     * @Param [lqw]
     * @Return List<GzWarehousePersonnelVo>
     */
    List<GzWarehousePersonnelVo> listVo(QueryWrapper<GzWarehousePersonnel> lqw);

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2024-01-22
     * @Param [id]
     * @Return GzWarehousePersonnelVo
     */
    GzWarehousePersonnelVo getVoById(Long id);

    List<SalarySummaryVo> list(String month, String deptName );

    void delelteMonth(Date yearMonth);

    List<GzWarehousePersonnelVo> listStatistics(QueryWrapper<GzWarehousePersonnel> lqw);
}
